package com.xyzwps.harbor.service;

import com.xyzwps.harbor.model.UserPassword;

public interface PasswordCrypto {
    String encrypt(long userId, String realPassword);

    boolean check(UserPassword userPassword, String realPassword);
}

